//
//  SeekBrandBaseViewCell.m
//  cityCar
//
//  Created by 刘伟 on 14-11-5.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "SeekBrandBaseViewCell.h"

@implementation SeekBrandBaseViewCell

- (void)dealloc
{
    [_myImageView release];
    [_label release];
    [super dealloc];
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        self.myImageView = [[UIImageView alloc] init];
        self.label = [[UILabel alloc] init];
        [self.contentView addSubview:self.myImageView];
        [self.contentView addSubview:self.label];
        [_myImageView release];
        [_label release];
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.myImageView.frame = CGRectMake(10, 5, 50, self.contentView.frame.size.height - 10);
    self.label.frame = CGRectMake(75, 5, 150, self.contentView.frame.size.height - 10);
    self.label.numberOfLines = 0;
}
- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
